package com.cskaoyan.bo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CreateBrandBO {
    private Integer id;

    @NotEmpty
    private String desc;
//    @NotNull

    @javax.validation.constraints.NotNull
    @Min(0)
    @Max(Integer.MAX_VALUE)
    private BigDecimal floorPrice;

    @NotNull
    private String name;

    @NotNull
    private String picUrl;

}
